<!--水平分割线-->
<template>
  <div class="h-separator" :class="customClass" :style="innerStyle"></div>
</template>
<script>

  export default {
    props: [
      'width',
      'height',
      'customClass',
    ],
    data(){
      return {}
    },
    computed: {
      innerStyle(){
        let height = this.height ? this.height : '1px';
        let width = this.width ? this.width : '100%';
        return 'height:' + height + ';width:' + width;
      }
    },
    methods: {}
  };
</script>

